from selenium import webdriver
from pyquery import PyQuery as pq
werop=webdriver.Chrome()
werop.get('https://csgo.wanmei.com/anniversary')
test=werop.page_source
werop.close()
#print(test)
doc=pq(test)
items=doc('.item-bd')
u=items.text()
print(u)
with open('CSGO的回忆.txt','w',encoding='utf-8')as p:
    p.write(u)
    print('OK')
